package com.itasura.jwt.mapper;

import com.itasura.jwt.entity.User;
import org.apache.ibatis.annotations.Param;

/**
 * @author sailor wang
 * @date 2019/1/22 3:13 PM
 * @description
 */
public interface UserMapper {
    User findByUsername(@Param("username") String username);

    User findUserById(@Param("id") Long id);
}